<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>验收取货</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <style>
        .workheader {
            width: 100%;
            margin: 10px 0px 10px 0px;
            overflow: hidden;
        }

        .work_title_add {
            width: 80%;
            font-size: 0.8rem;
            font-weight: 500;
            margin-top: 0px;
            height: 18px;
        }

        .mainbox {
            width: 92%;
            margin: 0 auto;
            margin-top: 15px;
            padding: 20px 16px 20px 16px;
        }

        .ellipsis-1 {
            width: 38px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .th-tip {
            width: 92%;
            margin: auto;
            margin-top: 10px;
            font-size: 0.65rem;
            color: #999;
        }

        .imglist_box {
            overflow: hidden;
            padding-top: 30px;
        }

        img.imgitem {
            border-radius: 6px;
        }

        .imglist_item {
            color: #999;
        }

        .img_plusbox {
            margin-bottom: 5px;
        }

        .imglist_item img {
            margin-left: 0px;
        }

        .img_plusbox img {
            margin-left: 14px !important;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="aui-content task">
            <div v-if="IsReject==1" class="th-tip">退回后,配送单会返回至接单中心,可以由其他配送人员接取。</div>
            <div class=" boxarea mainbox">
                <div class="work_con_box">
                    <div class="workheader">
                        <div v-if="IsReject==0" class="work_title_add ellipsis_one fl">验收记录</div>
                        <div v-if="IsReject==1" class="work_title_add ellipsis_one fl">退回原由</div>
                        <div style="float: right;color: #999;margin-top: -2px;">({{ReleaseExplain.length}}/50)</div>
                    </div>
                    <div class="aui-list-item-inner">
                        <div class="aui-list-item-input">
                            <textarea :placeholder="placeholderText" maxlength="50" style="height:8rem;"
                                v-model="ReleaseExplain"></textarea>
                        </div>
                    </div>

                    <div class="imglist_box">
                        <div class="imglist_item" v-for="(item,index) in imglist">
                            <img v-on:click="do_viewimages(index)" class="imgitem ml4" v-bind:src="item.url" />
                            <img v-on:click="remove_img(item.index)" class="onmouse_close"
                                src="../image/close_mouseover.svg" />
                        </div>
                        <div v-if="imglist.length<4" class="imglist_item ml4">
                            <div class="img_plusbox">
                                <img v-on:click="choose_picture()" src="../image/photo_image.svg" />
                            </div>
                            最多支持{{maxuploadcount}}张
                        </div>
                    </div>

                </div>
            </div>
            <div class="bottom">
                <div v-if="IsReject==1" class="aui_bottombtn" v-on:click="do_save()">确认退回</div>
                <div v-if="IsReject==0" class="aui_bottombtn" v-on:click="do_save()">完成</div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-dialog.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/distribution_exam.js "></script>

</html>